import {Api} from "@/common/api";
import {requestMethod} from "@/common/request";

// 新增
export class MapAddApi extends Api {
  constructor() {
    super("api/jwd");
    this.method(requestMethod.GET);
  }
}

// 删除
export class MapRemoveApi extends Api {
  constructor() {
    super("api/jwddel");
    this.method(requestMethod.GET);
  }
}

// 修改
export class MapEditApi extends Api {
  constructor() {
    super("api/jwdedit");
    this.method(requestMethod.GET);
  }
}

// list
export class MapListApi extends Api {
  constructor() {
    super("api/v1/jk-dtindex");
    this.method(requestMethod.GET);
  }
}

